package com.thread.threadfirst.javaBase;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public class HashMapTest {
    public static void main(String[] args) {
        HashMap hashMap = new HashMap(11);
//        Float.isNaN(3);
        hashMap.put("路飞", "23");
        hashMap.put("索隆", "24");
        hashMap.put("山治", "25");
        System.out.println(hashMap.get("山治"));

        List list = new ArrayList();
        list.add("a");
        list.add("b");
        list.forEach(o -> System.out.println(o));
    }
}
